"""register URL Configuration

The `urlpatterns` list routes URLs to views. For more information please see:
    https://docs.djangoproject.com/en/1.8/topics/http/urls/
Examples:
Function views
    1. Add an import:  from my_app import views
    2. Add a URL to urlpatterns:  url(r'^$', views.home, name='home')
Class-based views
    1. Add an import:  from other_app.views import Home
    2. Add a URL to urlpatterns:  url(r'^$', Home.as_view(), name='home')
Including another URLconf
    1. Add a URL to urlpatterns:  url(r'^blog/', include('blog.urls'))
"""
from django.conf.urls import include, url

urlpatterns = [
    url(r'^charge_list/$', 'billing.charge_views.charge_list',name='charge_list'),
    url(r'^charge_add/$', 'billing.charge_views.charge_add',name='charge_add'),
    url(r'^check_charge/$', 'billing.charge_views.check_charge',name='check_charge'),
    url(r'^charge_add_union/$', 'billing.charge_views.charge_add_union',name='charge_add_union'),
    url(r'^consumption_list/$', 'billing.views.consumption_list',name='consumption_list'),
    url(r'^consumption_add/$', 'billing.views.consumption_add',name='consumption_add'),
    url(r'^consumption_get/$', 'billing.views.consumption_query_by_project_id',name='consumption_query_by_project_id'),
    url(r'^price_list/$', 'billing.views.price_list',name='price_list'),
    url(r'^price_add/$', 'billing.views.price_add',name='price_add'),
    url(r'^price_delete/(?P<price_id>[0-9]+)$', 'billing.views.price_delete',name='price_delete'),
    url(r'^price_update/(?P<price_id>[0-9]+)/$', 'billing.views.price_update',name='price_update'),
    url(r'^price_history/$', 'billing.views.price_history_list',name='price_history'),
    url(r'^ajax_consumption_list/$', 'billing.views.ajax_get_consumption_data',name='ajax_get_consumption_data'),
    url(r'^account_profile/$', 'billing.views.personal_account_info',name='personal_account_info'),
]